package com.tvunetworks.center.device.model.json;

import lombok.Data;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotEmpty;

/**
 * @program: tvucc-device
 * @description: R设置bitrate delay参数
 * @author lebronchen
 * @create: 2019-03-17 10:42
 **/
@Data
@Accessors(chain = true)
public class SetBitrateAndDelayParam {

    @NotEmpty
    private String rid;
//    @Max(value = 10240, message = "bitrate最大值为10240")
//    @Min(value = 100, message = "bitrate最小值为100")
    private int bitrate;
//    @Max(value = 50000, message = "bitrate最大值为50000")
//    @Min(value = 500, message = "bitrate最小值为500")
    private double delay;

}
